package com.demo.hello.decoupling;

/**
 * 描述：
 *
 * @author lida
 * @time 2019/10/11 10:04
 */
public class HelloWorldDecoupled {

	public static void main(String[] args) {
		MessageRenderer mr = new StandardOutMessageRender();
		MessageProvider mp = new HelloWorldMessageProvider();
		mr.setMessageProvider(mp);
		mr.render();
	}
}
